package com.my.bean;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class Role implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String roleName;
	private Set<User> users = new HashSet<User>();

	public Integer getId() {
		return id;
	}

	public synchronized void setId(Integer id) {
		this.id = id;
	}

	public synchronized String getRoleName() {
		return roleName;
	}

	public synchronized void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public synchronized Set<User> getUsers() {
		return users;
	}

	public synchronized void setUsers(Set<User> users) {
		this.users = users;
	}
}
